<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js">
    </script>
    <script>
        $(document).ready(function () {
            $("#click").click(function () {
                $("#div1").fadeTo(1000, 0.1);
                $("#div2").fadeTo("slow", 0.1);
                $("#div3").fadeTo("slow", 0.1);
            });
        });
    </script>
</head>

<body>
    <div id="div1" style="width: 80px; height: 80px; background-color: red;"></div>
    <div id="div2" style="width: 80px; height: 80px; background-color: green;"></div>
    <div id="div3" style="width: 80px; height: 80px; background-color: blue;"></div>
    <button id="click">点我</button>
</body>

</html>